package com.netease.pris.activity;

import android.view.View;
import android.webkit.URLUtil;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import com.netease.pris.atom.g;
import com.netease.pris.atom.u;
import com.netease.pris.d.c;
import java.util.HashMap;
import java.util.Stack;

class ci
  implements AdapterView.OnItemClickListener
{
  ci(MallListActivity paramMallListActivity)
  {
  }

  public void onItemClick(AdapterView paramAdapterView, View paramView, int paramInt, long paramLong)
  {
    if (MallListActivity.e(this.a) == null);
    while (true)
    {
      return;
      if ((MallListActivity.e(this.a).getItem(paramInt) != null) && ((MallListActivity.e(this.a).getItem(paramInt) instanceof u)))
      {
        u localu = (u)MallListActivity.e(this.a).getItem(paramInt);
        if (localu == null)
          continue;
        localu.U();
        if (localu.al())
        {
          SubsInfoActivity.a(this.a.d, localu);
          c.a(this.a.p(), 1700, localu.U());
          continue;
        }
        String str = localu.b(g.b);
        if (str == null)
          continue;
        if (!URLUtil.isNetworkUrl(str))
          str = "http://easyread.163.com" + str;
        if (localu.aT())
        {
          CustomTabActivity.a(this.a.d, str);
          continue;
        }
        if (MallListActivity.g(this.a))
          continue;
        MallListActivity.a(this.a, 2);
        MallListActivity.b(this.a, 0);
        MallListActivity.f(this.a).clear();
        int i = MallListActivity.a(this.a, 304, null, str, null);
        MallListActivity.f(this.a).put(new Integer(i), str);
        com.netease.pris.activity.view.al localal = new com.netease.pris.activity.view.al();
        localal.a = MallListActivity.h(this.a);
        if (paramInt - 1 > 0)
          paramInt--;
        localal.b = paramInt;
        localal.c = localu.U();
        MallListActivity.i(this.a).push(localal);
        MallListActivity.a(this.a, str);
        MallListActivity.b(this.a, null);
        MallListActivity.a(this.a, true);
        this.a.c();
        c.a(this.a.p(), 1696, localu.U());
        continue;
      }
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.ci
 * JD-Core Version:    0.6.0
 */